package org.west.sky.frame.activiti.study.chapter18.demo0205;

import org.activiti.engine.delegate.event.ActivitiEvent;
import org.activiti.engine.delegate.event.ActivitiEventListener;

/**
 * author: chz
 * date: 2025/9/18
 * description:
 */
public class DataSyncEventListener implements ActivitiEventListener {
    @Override
    public void onEvent(ActivitiEvent event) {
        System.out.println("====流程活动id" + event.getProcessDefinitionId() + ",事件名称：" + event.getType().name());
    }

    @Override
    public boolean isFailOnException() {
        return false;
    }
}
